@import "../_base/_function";
.ui-textfield {
  .input-text {
    width: 100%;
    position: relative;
    input{
      outline: 0;
      padding: 0 $baseWid;
      width: 100%;
      height: 38px;
      line-height: 38px;
      border: $border-style;
      &:focus {
        border-color: $focus;
      }
    }
  }
  &.ui-error {
    .input-text {
      input{
        border-color: $error !important;
      }
    }
  }
  &.ui-border-bottom {
    .input-text {
      input{
        border-color: transparent transparent $border-color transparent;
        &:focus {
          border-bottom-color: $focus;
        }
      }
    }
    &.ui-error {
      .input-text {
        input{
          border-color: transparent transparent $error transparent !important;
        }
      }
    }
  }

}
//IE9以下 样式调整
//.no-csstransitions {
//  .ui-textfield{
//    .input-text{
//      .placeholder{
//        display: block;
//      }
//    }
//  }
//}

